package com.hst.capacity.domain.model.entity.journey;

import com.hst.capacity.domain.model.entity.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.hibernate.annotations.GenericGenerator;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

@Data
@EqualsAndHashCode(callSuper=false)
@Entity
@Table(name = "fa_platform_journey")//行程单记录
public class JourneyEntity extends BaseEntity {

    @Id
    @GeneratedValue(generator = "gen_uuid")
    @GenericGenerator(name = "gen_uuid", strategy = "uuid")
    private String idJourney;    //发票ID
    private String idInvoice;    //订单号
    private String journeyUrl;   //行程单pdf下载地址
    private String memo;         //备注

}
